package qt.domain;

/**
 * Created by charmyyy on 2017/10/31.
 */
public class Marker {
    private String stcd;
    private double lgtd;
    private double lttd;
    private String stnm;
    private String sttpcd;

    public Marker() {
    }

    public Marker(Station s) {
        this.stcd = s.getStcd();
        //经度
        this.lgtd = s.getLgtd();
        //纬度
        this.lttd = s.getLttd();
        this.stnm = s.getStnm();
        this.sttpcd = s.getSttpcd();
    }

    public String getSttpcd() {
        return sttpcd;
    }

    public void setSttpcd(String sttpcd) {
        this.sttpcd = sttpcd;
    }

    public String getStcd() {
        return stcd;
    }

    public void setStcd(String stcd) {
        this.stcd = stcd;
    }

    public double getLgtd() {
        return lgtd;
    }

    public void setLgtd(double lgtd) {
        this.lgtd = lgtd;
    }

    public double getLttd() {
        return lttd;
    }

    public void setLttd(double lttd) {
        this.lttd = lttd;
    }

    public String getStnm() {
        return stnm;
    }

    public void setStnm(String stnm) {
        this.stnm = stnm;
    }

    @Override
    public String toString() {
        return "Marker{" +
                "stcd='" + stcd + '\'' +
                ", lgtd=" + lgtd +
                ", lttd=" + lttd +
                ", stnm='" + stnm + '\'' +
                ", sttpcd='" + sttpcd + '\'' +
                '}';
    }
}
